package com.bzy.blp.mapper;

import com.bzy.blp.model.TPile;
import com.bzy.blp.model.TPileCriteria;
import com.bzy.blp.param.ShowPileParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TPileMapper {
    long countByExample(TPileCriteria example);

    int deleteByExample(TPileCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPile record);

    int insertSelective(TPile record);

    List<TPile> selectByExample(TPileCriteria example);

    TPile selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPile record, @Param("example") TPileCriteria example);

    int updateByExample(@Param("record") TPile record, @Param("example") TPileCriteria example);

    int updateByPrimaryKeySelective(TPile record);

    int updateByPrimaryKey(TPile record);

    List<TPile> selectAll(ShowPileParam showPileParam);

    List<TPile> selectPileByRegionId(Integer regionId);
}